@import "core/variables";
@import "core/mixin";
@import "core/css3";
@import "color";
@import "font";

.order-tab {
  width: 100%;
  display: flex;
  height: 4rem;
}

//.tag-on {
//  width: 100%;
//  text-align: center;
//  background: $color-grey-1;
//  span {
//    display: inline-block;
//    line-height: 3rem;
//  }
//  &.active {
//    span {
//      color: $color-red-1;
//      border: {
//        bottom: 2px solid $color-red-1;
//      }
//    }
//  }
//}

.com-tag {
  //width: 100%;
  min-height: 4rem;
  background: #fff;
  @include border-bottom($borderGrayE);
  @include display-flex();
  > a {
    display: inline-block;
    width: 25%;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    font-size: 1.3rem;
    span {
      color: $gray6;
    }
    &.tag-on {
      span {
        display: inline-block;
        height: 4rem;
        line-height: 4rem;
        color: $red;
        border-bottom: 2px solid $red;
      }
    }
  }
}

.order-item {
  background: $color-grey-1;
  padding: {
    left: 1rem;
    right: 1rem;
  }
  margin: {
    top: 1rem;
  }
  border: {
    top: 1px solid $color-grey-3;
    bottom: 1px solid $color-grey-3;
  }
}

.order-title {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  align-items: center;
  font-weight: 300;
}

.order-main {
  padding: {
    top: 0.5rem;
    bottom: 0.5rem;
  }
  display: flex;
}

.order-img {
  width: 5rem;
  height: 5rem;
  margin: {
    right: 0.5rem;
  }
}

.goods-info {
  width: 100%;
}

.order-goods-title {
  font-size: $font-size-11;
  font-weight: 700;
}

.order-goods-mark {
  font-size: $font-size-9;
  color: $color-grey-5;
}

.order-count {
  display: flex;
  justify-content: space-between;
  font-size: $font-size-9;
}

.delete-order-btn {
  border: 2px solid #000000;
  background: $color-grey-1;
  border-radius: 0.25rem;
  padding: .3rem .6rem;
  margin: .275rem .6rem;
  font-size: $font-size-10;
}

.open-order-btn {
  color: $color-grey-1;
  background: $color-red-1;
  border: 0;
  border-radius: 0.25rem;
  padding: .45rem 1.5rem;
  margin: .5rem 1rem;
  font-size: $font-size-10;
}

.pay-btn-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.addon-btn{
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.addon-btn-default{
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.default-page{
  flex: 1 1 auto;
  background-color: #eaeaea;
  display: flex;
  flex-direction: column;
}
.default-page-A{
  flex: 0 1 auto;
  min-height: 10rem;
}
.default-page-B{
  flex: 1 1 auto;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  min-height: 10rem;
  display: flex;
  flex-direction: row;
  .img-wheel-B{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    .img-wheel-B-a{
      flex: 1 1 auto;
      margin: auto;
    }
    .img-wheel-B-span{
      flex: 1 1 auto;
      margin: auto;
    }
  }
}

.default-page-C{
  flex: 1 1 auto;
  min-height: 20rem;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius:5% 5%;
  margin: 1rem 0.5rem 1rem 0.5rem;
  padding: 1.5rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;

  .img-wheel-C-title{
    flex: 0 1 auto;
    min-height: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: row;
    .img-wheel-C-left{
      flex: 0 1 auto;
      font-size: 1.5rem;
      color:#333333;
      font-weight: bold;
    }
    .img-wheel-C-middle{
      flex: 1 1 auto;
    }
    .img-wheel-C-right{
      flex: 0 1 auto;
      font-size: 1.5rem;
      color: #999999;
    }
  }
  .img-wheel-C-list{
    flex: 1 1 auto;
    //min-height: 17rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
    //align-items:center;
    .img-wheel-C{
      flex: 0 1 auto;
      width: 33%;
      height: 15rem;
      display: flex;
      flex-direction: column;
      .img-wheel-C-a{
        flex: 1 1 auto;
        margin: auto;
      }
      .img-wheel-C-span{
        flex: 0 1 auto;
        margin: auto;
        height: 3.3rem;
        overflow: hidden;
        font-size: 1.2rem;
        color: #333333;
      }
      .img-wheel-C-span-price{
        flex: 1 1 auto;
        margin: auto;
        font-size: 1.5rem;
        color: #ff3433;
      }
    }
  }

}


.default-page-D {
  flex: 0 1 auto;
  min-height: 5rem;
  background-color: #ffffff;
  padding: 1.5rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: row;
  .default-page-D-left{
    flex: 0 1 auto;
    font-size: 1.5rem;
    color:#333333;
    font-weight: bold;
  }
  .default-page-D-middle{
    flex: 1 1 auto;
  }
  .default-page-D-right{
    flex: 0 1 auto;
    font-size: 1.5rem;
    color: #999999;
  }
}